package com.qf.service.impl;

import com.qf.dao.AddressDao;
import com.qf.dao.impl.AddressDaoImpl;
import com.qf.service.AddressService;
import com.qf.pojo.TbAddress;

import java.util.List;

/**
 * Create by 周志豪 on 2022/8/21  10:45
 *
 * @authoe 周志豪
 * @veision 1.0
 * //TODO  想好了再去做
 * @since 1.0
 */

public class AddressServiceImpl implements AddressService {


    private AddressDao addressDao = new AddressDaoImpl();

    @Override
    public List<TbAddress> findAllAddressByUserId(Long userId) {
        List<TbAddress> addressList = addressDao.findAllAddressByUserId(userId);
        return addressList;
    }
}
